\(\int x (a+b x^4) \, dx\) [608]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 9, antiderivative size = 17 \[ \int x \left (a+b x^4\right ) \, dx=\frac {a x^2}{2}+\frac {b x^6}{6} \]

[Out]

1/2*a*x^2+1/6*b*x^6

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {14} \[ \int x \left (a+b x^4\right ) \, dx=\frac {a x^2}{2}+\frac {b x^6}{6} \]

[In]

Int[x*(a + b*x^4),x]

[Out]

(a*x^2)/2 + (b*x^6)/6

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rubi steps \begin{align*} \text {integral}& = \int \left (a x+b x^5\right ) \, dx \\ & = \frac {a x^2}{2}+\frac {b x^6}{6} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00 \[ \int x \left (a+b x^4\right ) \, dx=\frac {a x^2}{2}+\frac {b x^6}{6} \]

[In]

Integrate[x*(a + b*x^4),x]

[Out]

(a*x^2)/2 + (b*x^6)/6

Maple [A] (verified)

Time = 0.02 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.82

method result size
gosper \(\frac {1}{2} a \,x^{2}+\frac {1}{6} b \,x^{6}\) \(14\)
default \(\frac {1}{2} a \,x^{2}+\frac {1}{6} b \,x^{6}\) \(14\)
norman \(\frac {1}{2} a \,x^{2}+\frac {1}{6} b \,x^{6}\) \(14\)
risch \(\frac {1}{2} a \,x^{2}+\frac {1}{6} b \,x^{6}\) \(14\)
parallelrisch \(\frac {1}{2} a \,x^{2}+\frac {1}{6} b \,x^{6}\) \(14\)

[In]

int(x*(b*x^4+a),x,method=_RETURNVERBOSE)

[Out]

1/2*a*x^2+1/6*b*x^6

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.76 \[ \int x \left (a+b x^4\right ) \, dx=\frac {1}{6} \, b x^{6} + \frac {1}{2} \, a x^{2} \]

[In]

integrate(x*(b*x^4+a),x, algorithm="fricas")

[Out]

1/6*b*x^6 + 1/2*a*x^2

Sympy [A] (verification not implemented)

Time = 0.01 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.71 \[ \int x \left (a+b x^4\right ) \, dx=\frac {a x^{2}}{2} + \frac {b x^{6}}{6} \]

[In]

integrate(x*(b*x**4+a),x)

[Out]

a*x**2/2 + b*x**6/6

Maxima [A] (verification not implemented)

none

Time = 0.22 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.76 \[ \int x \left (a+b x^4\right ) \, dx=\frac {1}{6} \, b x^{6} + \frac {1}{2} \, a x^{2} \]

[In]

integrate(x*(b*x^4+a),x, algorithm="maxima")

[Out]

1/6*b*x^6 + 1/2*a*x^2

Giac [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.76 \[ \int x \left (a+b x^4\right ) \, dx=\frac {1}{6} \, b x^{6} + \frac {1}{2} \, a x^{2} \]

[In]

integrate(x*(b*x^4+a),x, algorithm="giac")

[Out]

1/6*b*x^6 + 1/2*a*x^2

Mupad [B] (verification not implemented)

Time = 0.02 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.76 \[ \int x \left (a+b x^4\right ) \, dx=\frac {b\,x^6}{6}+\frac {a\,x^2}{2} \]

[In]

int(x*(a + b*x^4),x)

[Out]

(a*x^2)/2 + (b*x^6)/6